package com.system.connect.springboot_flowers.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 原创帖子表
 * </p>
 *
 * @author yang
 * @since 2025-01-16
 */
@Getter
@Setter
public class Originalposts implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 原创帖子ID
     */
    @TableId(type = IdType.AUTO)
    private Integer originalpostid;

    /**
     * 关联用户ID
     */
    private Integer userId;

    /**
     * 标题
     */
    private String tiele;

    /**
     * 帖子内容
     */
    private String content;

    /**
     * 类别
     */
    private String category;

    /**
     * 逻辑删除
     */
    private Boolean isDelete;

    /**
     * 创建时间
     */
    private LocalDateTime createdAt;

    /**
     * 帖子可见性
     */
    private String type;

    /**
     * 是否匿名
     */
    private Boolean anonymity;

}
